home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / PowerFantasm™ / PowerFantasm Documentation / PF User Manual 4 unreg.srd / PF User Manual 4 unreg.srd.rsrc / PICT_71.png < prev    next >
Portable Network Graphic  |  1997-05-21  |  119KB  |  816x1056  |  16-bit (485 colors)
Labels: book | bulletin board | reckoner | sky
OCR: exampleMetst99ode the BASIC progr afovetraniantrCoutser MananBers Page I'bppe CountA5 klet Count=Count+1 Not too bad is We define global variables by usingpithe directive For example count would be definer as Count globoff.l Typically these definitions are put in a globally included file in your project, so the alol definitions are available to at the source files in your project. You are limited to 32k of memory for all your global variables (Macintosh limitation), 1 why the linker reports the A5 globals size when linking has finished It is easy to define strings and arrays as global variables: my string: globoff.b 128 *define 128 bytes storage for this string Then to point an address reaister at the srimg staga5)a0 AO now points to the start addresingfstring To set up storage for 2d arra ...